﻿using System;
using System.Web.Mvc;
using MyPetShop.Service;

namespace Web.Controllers
{
	/// <summary>
	/// Description of BarCategoryController.
	/// </summary>
	public class BarCategoryController : Controller
	{
		public ActionResult Init()
        {
			ProductItemService productItemService = new ProductItemService();
			return this.PartialView("_BarCategory",productItemService.GetCategorys());
        }
	}
}